﻿<div class="row">
    <div class="toolbar">
        
        @if (Utilities.ConvertUtility.BoolParse(ViewBag.InsertPermission))
        {
            <button class="btn btn-primary btn-sm" type="button" ng-click="add()">
                <i class="fa fa-plus fa-fw"></i>Thêm mới
            </button>
        }
        @if (Utilities.ConvertUtility.BoolParse(ViewBag.UpdatePermission))
        {
            <button class="btn btn-primary btn-sm" type="button" ng-click="edit()">
                <i class="fa fa-edit fa-fw"></i>Chỉnh sửa
            </button>
        }
        @if (Utilities.ConvertUtility.BoolParse(ViewBag.DeletePermission))
        {
            <button class="btn btn-primary btn-sm" type="button" ng-click="confirmDelete()">
                <i class="fa fa-trash-o fa-fw"></i>Xóa
            </button>
        }
        <button class="btn btn-primary btn-sm" type="button" ng-click="refresh()">
            <i class="fa fa-refresh fa-fw"></i> Làm mới
        </button>
    </div>
</div>
